<script setup>

//引入仓库详情数据
import {useDetailStore} from '/src/store/modules/HospitalDetail.js'

const hospitalStore = useDetailStore();
</script>

<template>
  <div class="container">


    <div class="top">
      <h2>{{ hospitalStore.hospitalDetail.hospital?.hosname }}停诊信息通告</h2>
    </div>
    <div class="content">
      <div class="item">
        <span class="label">医院名称：</span>
        <span class="value">{{ hospitalStore.hospitalDetail.hospital?.hosname }}</span>
      </div>
      <div class="item">
        <span class="label">医院地址：</span>
        <span class="value">北京市海淀区西大街10号</span>
      </div>
      <div class="item">
        <span class="label">联系电话：</span>
        <span class="value">9980-1345235</span>
      </div>
      <div class="item">
        <span class="label">停诊时间：</span>
        <span class="value">14:30-17:00</span>
      </div>
      <div class="item">
        <span class="label">停诊原因：</span>
        <span class="value">由于近期医院业务量激增，医院将暂停部分业务，具体原因请见下方</span>
      </div>
      <div class="item">
        <span class="label">停诊事由：</span>
        <span class="value"> 医院业务量激增，医院将暂停部分业务，具体原因如下：</span>
      </div>
      <div class="item">
        <span class="label">停诊医生：</span>
        <span class="value">xx医生等等</span>
      </div>
      <div class="item">
        <span class="label">停诊科室：</span>
        <span class="value">xx科室、xx科室等等</span>
      </div>
      <div class="item">
        <span class="label">停诊说明：</span>
        <span class="value">医院将暂停部分业务，具体原因如下：<br>
        1. 近期医院业务量激增，医院将暂停部分业务。<br>
        2. 医院将暂停部分业务，具体原因请见下方。<br>
        3. 医院将暂停部分业务，具体原因请见下方。</span>
      </div>
    </div>
  </div>
</template>

<style scoped lang="scss">
.container {
  width: 100%;
  display: flex;
  flex-direction: column;

.top {
  width: 100%;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background-color: #cdd2d1;
  border-radius: 5px;

  h2 {
    font-size: 24px;
    font-weight: bold;
  }
}
  .content {
    width: 100%;
    background-color: #fff;
    border-radius: 5px;
    padding: 20px 10px;
    box-sizing: border-box;

    .item {
      display: flex;
      margin-bottom: 10px;
      font-size: 16px;
      font-weight: bold;
      font-family: Arial, sans-serif;
      color: #333;

      .label {
        width: 100px;
        text-align: right;
      }

      .value {
        flex: 1;
      }
    }
  }
}
</style>